﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary1
{
    public class Car1
    {
        public virtual void Driving()
        {
            Console.WriteLine("I'm Running");
        }
    }

    public class Car2 : Car1
    {
        public override void Driving()
        {
            Console.WriteLine("I'm Car  Running");
        }
    }

    public class Car3 : Car2
    {
        public void Driving()
        {
            Console.WriteLine("I'm Car3 I'm borken");
        }
    }
}
